<?php


namespace app\admin\validate\site;


use think\Validate;

class SiteUserRuleValidate extends Validate{

    protected $rule =   [
        'name'  => 'require|unique:site_user_rule',
    ];

    protected $message  =   [
        'name.unique' => '权限规则名称不能重复',
        'name.require' => '权限规则名称必填',
    ];

}
